/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2012
 */

package com.tudou.searchcontrol.service;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.tudou.searchcontrol.model.PageInfo;
import com.tudou.searchcontrol.model.Video;

@Repository("videoService")
public interface IVideoService {
	
	public List<Video> getVideoList(Map searchMap);
	
	public PageInfo getVideoByPage(Map searchMap,PageInfo pageInfo);

	public int saveOrUpdateVideo(Video video);
	
	public Video getVideoById(Long id);
	
	public int deleteVideo(String ids);
}
